package com.luga.member.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @author enluw
 * @date 2020-01-28
 * @描述 用户信息
 */
public class UserBaseVo implements Serializable {
    private static final long serialVersionUID = -3685104136819284182L;
    /**
     * 用户id
     */
    private long userId;
    /**
     * 用户名称
     */
    private String userName;

    /**
     * 用户角色
     */
    private List<String> userRoles;

    /**
     * 用户token
     */
    private String token;

    /**
     * 用户头像
     */
    private String avatar;
    /**
     * 用户类型
     * 
     * @see com.luga.member.enums.EnumUserActivityType
     */
    private int userActivityType;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<String> getUserRoles() {
        return userRoles;
    }

    public void setUserRoles(List<String> userRoles) {
        this.userRoles = userRoles;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getUserActivityType() {
        return userActivityType;
    }

    public void setUserActivityType(int userActivityType) {
        this.userActivityType = userActivityType;
    }
}
